package com.test.manager.service;

import cn.hutool.json.JSONUtil;
import com.test.db.api.entity.User;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;

@Service
@ConditionalOnProperty(name = "common.db", havingValue = "mysql")
public class MyServiceImpl1 implements MyService{
    @Override
    public User getInfo() {
        User user = new User();
        user.setName("1111");
        return user;
    }
}
